package com.baizhi.dao;

import com.baizhi.entity.Article;

import java.util.List;

public interface ArticleDao {

    List<Article> selectAll(Article article);

    Article selectArticlByFields(Article article);

    void insertArticle(Article article);

    void deleteArticleById(Integer id);

    void deleteMultiple(Integer[] ids);

    void updateArticle(Article article);
}